﻿<Controls:UserControl x:Class="Zeus.Classes.Engines.Scripting_Engine.EditorText"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:Control="clr-namespace:Liquid;assembly=Liquid.RichText"
    xmlns:Controls="clr-namespace:System.Windows.Controls;assembly=System.Windows"
             >
    <Grid x:Name="LayoutRoot" Background="White">
        <Controls:StackPanel Orientation="Vertical">
            <Controls:Button Width="100" Height="50" Content="Save" x:Name="SaveText" Click="SaveText_Click" Controls:Grid.Row="0" Margin="0" />
            
            <Control:RichTextBox Width="700" Height="550" x:Name="ContentDoc" AcceptsReturn="True" TextChanged="ContentDoc_TextChanged" Controls:Grid.Row="1" Margin="0" CursorMoved="ContentDoc_CursorMoved" />
            <TextBlock Name="_LineNumber" Width="30" Height="40" Text="Line" />
        </Controls:StackPanel>
    </Grid>
</Controls:UserControl>
